package org.f0rb.demo.model.user;

/**
 * Class org.f0rb.demo.common description goes here.
 * <p/>
 * <bean id="userEventDemo" class="org.f0rb.demo.model.user.ProcessUserEventDemo"/>
 * <p/>
 * <bean id="eventManager" class="org.f0rb.demo.model.user.UserEventManagerImpl"/>
 * <p/>
 * <bean name="userEvemtListers" class="java.util.ArrayList">
 * <constructor-arg>
 * <list>
 * <ref bean="userEventDemo"/>
 * </list>
 * </constructor-arg>
 * </bean>
 *
 * @author Administrator
 * @version 1.0.0 11-11-14
 */
public class ProcessUserEventDemo implements UserEventListener {
    @Override
    public void before(User o) {
    }

    @Override
    public void after(User o) {
        System.out.println("username: " + o.getUsername());
        System.out.println("password: " + o.getPassword());
    }
}
